
package ejemplo;

import GUI.MuestraProductosJPanel;
import GUI.ProductosJFrame;
import com.bustamante.paratienda.Articulos;
import com.bustamante.paratienda.Catalogo;

public class Ejemplo {

    public static Catalogo myService= new Catalogo();
    
    public static void main(String[] args) {
        myService.addArticulo("001", "ZAPATILLAS", 1 ,"150");
        myService.addArticulo("002", "POLO", 2,"200");
        myService.addArticulo("003", "CASACA", 3,"100");
        myService.addArticulo("004", "CAMISA", 4,"900");
        ProductosJFrame mainWindow = new ProductosJFrame();
        mainWindow.setVisible(true);
       /* myService.sort();
        
        for (int i=0; i < myService.getSizee(); i++){
            Articulos mostrar = (Articulos) myService.getArticulo(i);
            System.out.println(mostrar.getPrecio() + " ");
        }*/
    }
    
}
